package com.zee.activity.ui

import android.content.Intent
import android.os.Bundle
import android.support.v7.app.AppCompatActivity

import com.zee.activity.R
import kotlinx.android.synthetic.main.activity_callback.*
import org.greenrobot.eventbus.Route

oute(name = "测设2")
class Test2CallbackActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_callback)

        id_click_callback_view.setOnClickListener {
            val intent = Intent();
            intent.putExtra("result", "测试成功");
            setResult(10, intent)
            finish()
        }
    }
}
